// pages/my/my.js
var app = getApp();
Page({

	/**
	 * 页面的初始数据
	 */
	data: {

	},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function (options) {

		var userinfo = app.globalData.userInfo;
		this.setData({
			userInfo: app.globalData.userInfo
		})
	},
	//我的资料
	myInformation: function () {
		wx.navigateTo({
			url: '/pages/personal/personal',
		})
	},
	//职业收藏
	professionalCollection: function () {
		wx.navigateTo({
			url: '/pages/collection/collection',
		})
	},
	//招聘审核
	recruitmentAudit: function () {
		wx.navigateTo({
			url: '/pages/join/join',
		})
	},
	//招聘管理
	recruitmentManagement: function(){
		wx.navigateTo({
			url: '/pages/manage/manage',
		})
	},
	//share 统一分享
	onShareAppMessage: function (res) {
		if (res.from === 'button') {
			// 来自页面内转发按钮
			console.log(res.target)
		}
		return {
			title: '财咖｜会计招聘找工作',
			path: '/pages/index/index',
			imageUrl: '/images/share.jpg',
			success: function (res) {
				// 转发成功
			},
			fail: function (res) {
				// 转发失败
			}
		}
	},

	
})